Plot wave front curvatures K,S for various initial values.

In[1]:=

SetDirectory["~/writing/riccati"] Off[General :: spell] Off[General :: spell1]

Out[1]=

/home/fdahl/writing/riccati

In[4]:=

<<Graphics`Graphics`

In[5]:=

G0 =  {{a + I α, b + I β},  {b + I β, c + I γ}} ; G0 // MatrixForm

Out[6]//MatrixForm=

( a +  α   b +  β )            b +  β   c +  γ

In[7]:=

(* Define G[t] = solution to Riccati equationG ' + G^2 = 0 G (0) = G_0 ... si1[t_] := Si[t] + Sqrt[Si[t]^2 - Ki[t]] si2[t_] := Si[t] - Sqrt[Si[t]^2 - Ki[t]] 

In[16]:=

Solve[{KKλ1 λ2, 2 SS == λ1 + λ2}, {λ1, λ2}]

Out[16]=

{{λ1SS - (-KK + SS^2)^(1/2), λ2SS + (-KK + SS^2)^(1/2)}, {λ1SS + (-KK + SS^2)^(1/2), λ2SS - (-KK + SS^2)^(1/2)}}

In[17]:=

maxt = 5 ; β = 0 ; α = 1 ; γ = 1 ;  pltOptions = {{Dashing[{0.01, 0.01} ... 371;PlotRange All, PlotLabeltitle, Ticks ticks] ]

Out[20]=

{FontFamilyTimes, FontSize8, FontSlantItalic}

In[23]:=

plotZZ = makePlot[0, 0, 0, "a=0, c=0", {{0, 1, 2, 3, 4, 5}, {-0.5, 0, 0.5, 1, 1.5, 2, 3, 4, 5}}]

[Graphics:HTMLFiles/Figure 2_12.gif]

Out[23]=

⁃Graphics⁃

In[24]:=

plotPZ = makePlot[1, 0, 0, "a=1, c=0", {{0, 1, 2, 3, 4, 5}, {-1, 0, 1, 2, 3, 4}}]

[Graphics:HTMLFiles/Figure 2_15.gif]

Out[24]=

⁃Graphics⁃

In[25]:=

plotPP = makePlot[1, 0, 1, "a=1, c=1", {{0, 1, 2, 3, 4, 5}, {-1, 0, 1, 2, 3, 4}}]

[Graphics:HTMLFiles/Figure 2_18.gif]

Out[25]=

⁃Graphics⁃

In[26]:=

plotPM = makePlot[-1, 0, 1, "a=-1, c=1", {{-1, 0, 1, 2, 3, 4, 5}, {-2, -1, 0, 1, 2, 3, 4}}]

[Graphics:HTMLFiles/Figure 2_21.gif]

Out[26]=

⁃Graphics⁃

In[27]:=

plotMM = makePlot[-1, 0, -1, "a=-1, c=-1", {{-2, -1, 1, 2, 3, 4, 5}, {-3, -2, -1, 0, 1, 2, 3, 4}}]

[Graphics:HTMLFiles/Figure 2_24.gif]

Out[27]=

⁃Graphics⁃

In[28]:=

plotMZ = makePlot[-1, 0, 0, "a=-1, c=0", {{-2, -1, 0, 1, 2, 3, 4, 5}, {-2, -1, 0, 1, 2, 3, 4}}]

[Graphics:HTMLFiles/Figure 2_27.gif]

Out[28]=

⁃Graphics⁃

In[29]:=

DisplayTogetherArray[ { {plotPP, plotMM, plotMZ},  {plotPM, plotPZ, plotZZ} } ]

[Graphics:HTMLFiles/Figure 2_30.gif]

Out[29]=

⁃GraphicsArray⁃

In[30]:=

Export["~/writing/riccati/KSpm.eps", %]

Out[30]=

~/writing/riccati/KSpm.eps

In[31]:=

(* which beams should satisfy condition at infinity ? *)AsymptoticCond[a_, c_] ... AsymptoticCond[-1, 1], AsymptoticCond[1, 0], AsymptoticCond[0, 0]} } // MatrixForm

Out[33]//MatrixForm=

( 1    -1   -1 )            0    1    0

In[34]:=

AsymptoticCondNum[-1, 0.9] AsymptoticCondNum[-0.1, 0]

Out[34]=

-0.01

Out[35]=

-0.1

In[36]:=

maxt = 200 ; makePlot[-1, 0, 0.9, "a=-1, c=0.9", {{0, 10, 20, 30, 40, 50, 100, 120,  ... 0 ; makePlot[-0.1, 0, 0, "a=-0.1, c=0", {{0, 10, 20, 30, 40, 50}, {-1, 0, 1, 2, 3, 4}}]

[Graphics:HTMLFiles/Figure 2_40.gif]

Out[37]=

⁃Graphics⁃

[Graphics:HTMLFiles/Figure 2_42.gif]

Out[39]=

⁃Graphics⁃


Created by Mathematica  (March 10, 2006)